package com.osce.common.utils.oesc;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author zzxjs
 * @since 2023/9/7
 */
public class TimeModel {

    /**
     * 唯一编号
     */
    private Long id;
    /**
     * 考试时间
     */
    private Date start;
    /**
     * 结束时间
     */
    private Date end;

    public TimeModel(Long id, @JsonFormat(pattern = "HH:mm:ss") Date start,@JsonFormat(pattern = "HH:mm:ss") Date end) {
        this.id = id;
        this.start = start;
        this.end = end;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }
}
